#include "AdderFactory.h"
#include "IAdder.h"
#include "PictureAdder.h"
#include "TextAdder.h"

IAdder* PictureAdderFactory::createAdder() {
    return new PictureAdder;
}

IAdder* TextAdderFactory::createAdder() {
    return new TextAdder;
}

IAdder* AbstractAdderFactory::createPictureAdder() {
    return new PictureAdder;
}

IAdder* AbstractAdderFactory::createTextAdder() {
    return new TextAdder;
}